package com.company;

import java.util.Arrays;
import java.util.Scanner;

public class Test2 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String next = in.nextLine();
        String[] data = next.split("\\ ");
        int[] arr = new int[data.length];
        for (int i = 0; i < data.length; i++) {
            arr[i] = Integer.valueOf(data[i]);
        }
        Arrays.sort(arr);
        System.out.println("---------");
        for (int i = 0; i < arr.length; i++) {
            System.out.print(arr[i] + " ");
        }
    }
}
